package com.sfzy.service;

import com.github.pagehelper.PageInfo;
import com.sfzy.entity.CompanyInfo;

import java.util.List;

public interface CompanyInfoService {
    int addCompanyInfo(CompanyInfo companyInfo);
    CompanyInfo getCompanyInfoById(int id);
    int updateCompanyInfo(CompanyInfo companyInfo);
    int deleteCompanyInfoById(int id);
    List<CompanyInfo> getAllCompanyInfo();
    PageInfo<CompanyInfo> getCompanyInfoByPage(CompanyInfo companyInfo,int pageNum, int pageSize);
}
